//
//  EventDatetimePickerViewController.h
//  SecretRoom
//
//  Created by Sitdhibhong Laokok on 9/4/54 BE.
//  Copyright 2554 App Tree. All rights reserved.
//

#import <UIKit/UIKit.h>

#include "ProposeNewEventInformationConfigurationDelegate.h"

@interface EventDatetimePickerViewController : UIViewController {
    id<ProposeNewEventInformationConfigurationDelegate> delegate;
    UIDatePicker *eventTimestampPicker;
    UIBarButtonItem *eventTimestampConfirmButton;
    
    NSDateFormatter *dateFormatter;
    NSDate *eventDateTimeSelect;
    UILabel *displayEventTimestamp;
    NSDateComponents *dateComponents;
    NSCalendar *calendar;
}
- (IBAction)eventTimestampPickerValueChanged:(id)sender;
- (IBAction)eventTimestampConfirmed:(id)sender;

@property (nonatomic, retain) NSDateComponents *dateComponents;
@property (nonatomic, retain) NSDate *eventDateTimeSelect;
@property (nonatomic, retain) IBOutlet UILabel *displayEventTimestamp;
@property (nonatomic, retain) IBOutlet UIDatePicker *eventTimestampPicker;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *eventTimestampConfirmButton;
@property (nonatomic, retain) NSDateFormatter *dateFormatter;
@property (nonatomic, retain) NSCalendar *calendar;
@property (nonatomic, retain) id<ProposeNewEventInformationConfigurationDelegate> delegate;

@end
